package net.algid.purchase.interfaces;

import java.sql.SQLException;
import java.util.List;

import net.algid.purchase.valueObject.Good;
import net.algid.purchase.valueObject.GoodData;

public interface IGoodLogic {

	public int add(Good good);

	public List<Good> getList(Good goodFilter);

	public void remove(int code);

	public void save(Good good);

	public Good getObject(int code);

	public GoodData getData(int goodCode) throws SQLException;

	public List<GoodData> getDataList(Good goodFilter) throws SQLException;
}